package org.cn.osiris;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * 启动类
 */
@SpringBootApplication
@MapperScan("org.cn.osiris.*.mapper")
//扫描监听器的包
@ServletComponentScan(value = {"org.cn.osiris.system.listener"})
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}
